package com.xxxx.api.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author ppliang
 * @date 2021/1/1 20:22
 */
@Data
public class GoodsCategoryTree implements Serializable {

    @ApiModelProperty(value = "商品分类id")
    private Integer id;
    @ApiModelProperty(value = "商品分类名称")
    private String name;
    @ApiModelProperty(value = "手机端显示的商品分类名")
    private String mobileName;
    @ApiModelProperty(value = "是否推荐为热门分类")
    private Boolean isHot;
    @ApiModelProperty(value = "是否显示")
    private Integer isShow;
    @ApiModelProperty(value = "分类分组默认0")
    private Integer catGroup;
    @ApiModelProperty(value = "顺序排序")
    private Integer sortOrder;

    //子节点
    private List<GoodsCategoryTree> children;
}
